//package com.plian.system.controller.zzd.investment;
//
//import com.plian.system.config.HasGZWRole;
//import com.plian.system.dto.zzd.ZZDProjectQuery;
//import com.plian.system.dto.zzd.ZZDQuery;
//import com.plian.system.model.R;
//import com.plian.system.service.zzd.IZZDInvestmentAnnualService;
//import com.plian.system.vo.zzd.finance.IndicatorsUnitDetailVO;
//import com.plian.system.vo.zzd.investment.InvestmentAnnualVO;
//import com.plian.system.vo.zzd.investment.InvestmentFinishVO;
//import com.plian.system.vo.zzd.investment.ProjectNatureVO;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import lombok.AllArgsConstructor;
//import org.springframework.validation.annotation.Validated;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.util.List;
//
//@HasGZWRole
//@RestController
//@RequestMapping(value = "api/zzd/investment")
//@AllArgsConstructor
//@Api(value = "浙政钉-投资情况", tags = "浙政钉-投资情况相关接口")
//public class ZZDInvestmentController {
//
//    private IZZDInvestmentAnnualService investmentAnnualService;
//
//    @PostMapping("/investmentAnnual")
//    @ApiOperation(value = "市属企业年度投资情况")
//    public R<InvestmentAnnualVO> getInvestmentAnnual(@Validated ({ZZDQuery.QueryGroup.class}) @RequestBody ZZDQuery query){
//        return R.data(investmentAnnualService.getInvestmentAnnual(query));
//    }
//
//    @PostMapping("/projectNature")
//    @ApiOperation(value = "规划布局")
//    public R<ProjectNatureVO> getProjectNature(@Validated @RequestBody ZZDProjectQuery query){
//        return R.data(investmentAnnualService.getProjectNature(query.getReportTime()));
//    }
//
//    @PostMapping("/investmentFinish")
//    @ApiOperation(value = "投资完成情况")
//    public R<List<IndicatorsUnitDetailVO>> investmentFinish(@Validated @RequestBody ZZDProjectQuery query){
//        return R.data(investmentAnnualService.investmentFinish(query.getType(),query.getReportTime()));
//    }
//
//    @PostMapping("/equityInvestmentFinish")
//    @ApiOperation(value = "股权投资完成情况")
//    public R<List<IndicatorsUnitDetailVO>> equityInvestmentFinish(@Validated @RequestBody ZZDProjectQuery query){
//        return R.data(investmentAnnualService.equityInvestmentFinish(query.getType(),query.getReportTime()));
//    }
//
//    @PostMapping("/fixedInvestmentFinish")
//    @ApiOperation(value = "固定资产投资完成情况")
//    public R<InvestmentFinishVO> fixedInvestmentFinish(@Validated @RequestBody ZZDProjectQuery query){
//        return R.data(investmentAnnualService.fixedInvestmentFinish(query.getType(),query.getReportTime()));
//    }
//
//    @PostMapping("/mainInvestmentFinish")
//    @ApiOperation(value = "重要项目投资完成情况")
//    public R<InvestmentFinishVO> mainInvestmentFinish(@Validated @RequestBody ZZDProjectQuery query){
//        return R.data(investmentAnnualService.mainInvestmentFinish(query.getType(),query.getReportTime()));
//    }
//
//}
